<!DOCTYPE HTML>
<html lang="de">
    <head>
        <title>Hyphenator.js &ndash; Test 10</title>
        <meta http-equiv="content-type" content="text/html; charset=UTF-8">
        <style type="text/css">
            body {
                width:50%;
                margin-left:25%;
                margin-right:25%;
            }
            #test {
            	background-color: #ffd6d6;
            }
            #ref {
            	background-color: #d6ffd6;
            }
        </style>
    </head>
    <body>
		<p><a href="index.html">&lt;&lt; index</a> | <a href="test9.html">&lt;- Prev</a> | <a href="test11.html">Next -&gt;</a></p>
        <h1>Test 10</h1>
        <p id="desc">Run Hyphenation with manually preloaded patterns. But one language isn't loaded.</p>

        <p id="test" class="hyphenate">Das englische Wort <span lang="en">&ldquo;Hyphenation&rdquo;</span> lässt sich nicht unbedingt wörtlich mit &laquo;Silbentrennung&raquo; übersetzen.</p>
        <p id="ref">Das eng|li|sche Wort “Hyphenation” lässt sich nicht un|be|dingt wört|lich mit «Sil|ben|tren|nung» über|set|zen.</p>
        <script src="../Hyphenator.js" type="text/javascript"></script>
        <!--<script src="../patterns/de.js" type="text/javascript"></script>-->
        <script type="text/javascript">
        	if (parent != window) {
				var desc = document.getElementById('desc').firstChild.data,
				msg = {
					desc: '(obsolete)' + desc,
					index: 10,
					result: 'obsolete'
				};
				parent.postMessage(JSON.stringify(msg), window.location.href);
			}
        	Hyphenator.run({
        		wordhyphenchar: '|'
        	});
        </script>
     </body>
</html>